{#**
*
* 功能描述（收藏页模板）
*
* @author suoya <jlusuoya@gmail.com>
* @version 1
*#}

{#include file="header.tpl" title="收藏列表" menuIdx=2 headImg="cate"#}

<div class="block box" >
    <div id="ur_here">
        当前位置: <a href="index.php">首页</a> <code>/</code> <a href="#">我的收藏</a> </div>
</div>
<div class="block clearfix">
    <div class="AreaR AreaR_pd_box">
        <div class="box">
            <div class="box_1">
                <div class="goodsList">
                    {#foreach $goodsList as $item #}
                        <ul class="clearfix">
                            <li class="thumb"><a href="index.php?action=food.detail&id={#$item['id']#}&version={#$item['version']#}"><img src="data/cake/cake_{#$item['id']#}.jpg" alt="{#$item['name']#}" /></a></li>
                            <li class="goodsName">
                                <a href="index.php?action=food.detail&id={#$item['id']#}&version={#$item['version']#}" class="f6 pd_name">{#$item['name']#}</a>
                                <br />
                                <p class="goods_brief">收藏时间：{#$item['updatetime']#}</p><br />
                                <a href="index.php?action=food.detail&id={#$item['id']#}&version={#$item['version']#}" class="pd_more">>> 详情</a>
                                <a style="color:#ff0000" href="index.php?action=favorite.remove&good_id={#$item['id']#} target="_blank">移除收藏</a>
                            <div class="action">
                                <!--<b><span>D-01 </span></b>-->
                                <span class="tips"></span><br/>
                                <span class="tips"></span><br/>
                                <div class="add_bot">
                                    <a href="javascript:addToCart({#$item['id']#})"><img src="images/bnt_cart.gif"></a>
                                </div>
                            </div>
                            </li>
                        </ul>
                    {#/foreach#}
                </div>
            </div>
        </div>
        <script type="text/javascript">
            window.onload = function()
            {
                fixpng();
            }
            var btn_buy = "购买";
            var is_cancel = "取消";
            var select_spe = "请选择商品属性";
        </script>  
        {#include file="paging_bar.tpl" #}
    </div>
</div>
{#include file="footer.tpl"#}
